//
//  PxOilModels.h
//  OilCard
//
//  Created by Xu Yefeng on 14-5-18.
//  Copyright (c) 2014年 Free. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PxOilModels : NSObject


@end


@interface PxBaseOilBean : NSObject

@property (nonatomic, retain) NSDictionary *originalDic;

+ (instancetype)bean;
+ (instancetype)beanWithDic:(NSDictionary*)dic;

@end

@interface PxAccessToken : PxBaseOilBean

@property (nonatomic, retain) NSString *access_token;
@property (nonatomic, retain) NSString *expires_in;
@property (nonatomic, retain) NSString *refresh_token;
@property (nonatomic, retain) NSString *token_type;
@property (nonatomic, retain) NSString *scope;

@end

@interface PxUserInfoBean : PxBaseOilBean

@property (nonatomic, retain) NSString *employeeId;
@property (nonatomic, retain) NSString *loginName;
@property (nonatomic, retain) NSString *loginSalt;
@property (nonatomic, retain) NSString *password;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *phone;
@property (nonatomic, retain) NSString *tokenId;
@property (nonatomic, retain) NSString *storeId;
@property (nonatomic, retain) NSString *msg;
@property (nonatomic, retain) NSString *address;
@property (nonatomic, retain) NSString *employeeType;

@end